package com.css.fxfzysx.modules.cztDataMange.entity;

import com.css.fxfzysx.modules.vabStructure.utils.DoubleDecimal;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * 钢筋混凝土参数信息
 * czt_concrete_param_info
 */
@Data
@Entity
@Table(name = "czt_concrete_param_info")
public class RcpInformationEntity {

    /**
     * id
     */
    @Id
    @Column(name = "ccpi_id")
    private String ccpiId;

    /**
     * 注编号
     */
    @Column(name = "pillar_code")
    private String pillarCode;



    /**
     * 层号
     */
    @Column(name = "floor_num")
    private Integer floorNum;



    /**
     *柱净高Hn
     */
    @Column(name = "pillar_height")
    @DoubleDecimal
    private Double pillarHeight;

    /**
     * 柱截面宽b(mm)
     */
    @Column(name = "pillar_section_width")
    @DoubleDecimal
    private Double pillarSectionWidth;

    /**
     *柱截面高h(mm)
     */
    @Column(name = "pillar_section_height")
    @DoubleDecimal
    private Double pillarSectionHeight;



    /**
     * 钢筋混凝土强度等级
     */
    @Column(name = "fck")
    private String fck;


    /**
     * 受压筋合理点距受压边缘的距离
     * as
     */
    @Column(name = "distance")
    @DoubleDecimal
    private Double distance;


    /**
     * 箍筋间距s
     */
    @Column(name = "spacing")
    @DoubleDecimal
    private Double spacing;

    /**
     * 箍筋截面积Asv
     */
    @Column(name = "sectional_area")
    @DoubleDecimal
    private Double sectionalArea;


    /**
     *柱下端纵向钢筋牌号
     */
    @Column(name = "stirrup_down_num")
    private String stirrupDownNum ;

    /**
     * 柱下端受压区纵向钢筋面积As'  (mm^2)
     */
    @Column(name = "sectional_down_area1")
    @DoubleDecimal
    private Double sectionalDownArea1;

    /**
     * 柱下端受拉区纵向钢筋面积As  (mm^2)
     */
    @Column(name = "sectional_down_area2")
    @DoubleDecimal
    private Double sectionalDownArea2;


    /**
     * 柱上端纵向钢筋牌号
     */
    @Column(name = "stirrup_up_num")
    private String stirrupUpNum ;

    /**
     * 柱上端受压区纵向钢筋面积As'  (mm^2)
     */
    @Column(name = "sectional_up_area1")
    @DoubleDecimal
    private Double sectionalUpArea1 ;

    /**
     * 柱上端受拉区纵向钢筋面积As  (mm^2)
     */
    @Column(name = "sectional_up_area2")
    @DoubleDecimal
    private Double sectionalUpArea2 ;



    /**
     * 创建人
     */
    @Column(name = "create_user")
    private String createUser;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 修改人
     */
    @Column(name = "update_user")
    private String updateUser;

    /**
     * 修改时间
     */
    @Column(name = "update_time")
    private Date updateTime;

    /**
     * 删除标记
     */
    @Column(name = "del_flag")
    private String delFlag;

    /**
     * 数据类别
     */
    @Column(name = "data_type")
    private String dataType;



    /**
     * 受压筋合力点距受压边缘的距离  as‘(mm)
     */
    @Column(name = "distance2")
    @DoubleDecimal
    private Double distance2 ;

    /**
     * 柱箍筋牌号
     */
    @Column(name = "stirrup_num")
    private String stirrupNum ;



    @Column(name = "extends1")
    private String extends1;
    @Column(name = "extends2")
    private String extends2;
    @Column(name = "extends3")
    private String extends3;
    @Column(name = "extends4")
    private String extends4;
    @Column(name = "extends5")
    private String extends5;
    @Column(name = "extends6")
    private String extends6;
    @Column(name = "extends7")
    private String extends7;
    @Column(name = "extends8")
    private String extends8;
    @Column(name = "extends9")
    private String extends9;
    @Column(name = "extends10")
    private String extends10;

    @Column(name = "user_name")
    private String userName;

/*    *//**
     * 梁参数
     *//*
    private List<CrsBeamVO> roofBeams ;*/


    /**
     * 中柱还是边柱
     */
    @Column(name = "pillar_position")
    private String  pillarPosition;

    @Column(name = "entirety_id")
    private String entiretyId ;
}
